// -- Textdrawy:

new Text:Pasek[MAX_PLAYERS];
new Text:Nick[MAX_PLAYERS];
new Text:ID[MAX_PLAYERS];
new Text:Ping[MAX_PLAYERS];
new Text:Respekt[MAX_PLAYERS];
new Text:CzasGry[MAX_PLAYERS];

new Text:NumberPlayers[MAX_PLAYERS];
new Text:NumberVips[MAX_PLAYERS];
new Text:NumberAdmins[MAX_PLAYERS];

new Text:Forum, Text:Serwer;
new Text:Godzina, Text:Data;

CreateTextDraws()
{
    Forum = TextDrawCreate(569.000000, 435.000000, "www.planetdm.xaa.pl");
	TextDrawAlignment(Forum, 2);
	TextDrawBackgroundColor(Forum, 255);
	TextDrawFont(Forum, 2);
	TextDrawLetterSize(Forum, 0.290000, 1.000000);
	TextDrawColor(Forum, -1);
	TextDrawSetOutline(Forum, 0);
	TextDrawSetProportional(Forum, 1);
	TextDrawSetShadow(Forum, 1);

	Serwer = TextDrawCreate(516.000000, 411.000000, "~b~Planet~w~DM");
	TextDrawBackgroundColor(Serwer, 255);
	TextDrawFont(Serwer, 0);
	TextDrawLetterSize(Serwer, 0.809999, 2.399999);
	TextDrawColor(Serwer, -1);
	TextDrawSetOutline(Serwer, 0);
	TextDrawSetProportional(Serwer, 1);
	TextDrawSetShadow(Serwer, 1);

	Data = TextDrawCreate(553.000000, 6.000000, "15.04.2012");
	TextDrawAlignment(Data, 2);
	TextDrawBackgroundColor(Data, 65535);
	TextDrawFont(Data, 1);
	TextDrawLetterSize(Data, 0.600000, 1.600000);
	TextDrawColor(Data, -1);
	TextDrawSetOutline(Data, 0);
	TextDrawSetProportional(Data, 1);
	TextDrawSetShadow(Data, 1);

	Godzina = TextDrawCreate(577.000000, 25.000000, "00:00");
	TextDrawAlignment(Godzina, 2);
	TextDrawBackgroundColor(Godzina, -16776961);
	TextDrawFont(Godzina, 1);
	TextDrawLetterSize(Godzina, 0.600000, 1.600000);
	TextDrawColor(Godzina, -1);
	TextDrawSetOutline(Godzina, 0);
	TextDrawSetProportional(Godzina, 1);
	TextDrawSetShadow(Godzina, 1);

	for(new x; x < MAX_PLAYERS; x++)
	{
		Pasek[x] = TextDrawCreate(6.000000, 423.000000, "Nick:                    ID:   Ping:   Respekt:   Czas Gry:   Graczy:   Vipow:   Adminow:");
		TextDrawBackgroundColor(Pasek[x], 255);
		TextDrawFont(Pasek[x], 0);
		TextDrawLetterSize(Pasek[x], 0.409999, 1.000000);
		TextDrawColor(Pasek[x], -16776961);
		TextDrawSetOutline(Pasek[x], 0);
		TextDrawSetProportional(Pasek[x], 1);
		TextDrawSetShadow(Pasek[x], 1);

		Nick[x] = TextDrawCreate(6.000000, 434.000000, "[PD]tumuszabyc24znaki!!!!");
		TextDrawBackgroundColor(Nick[x], 255);
		TextDrawFont(Nick[x], 1);
		TextDrawLetterSize(Nick[x], 0.240000, 1.000000);
		TextDrawColor(Nick[x], -1);
		TextDrawSetOutline(Nick[x], 0);
		TextDrawSetProportional(Nick[x], 1);
		TextDrawSetShadow(Nick[x], 1);

		ID[x] = TextDrawCreate(143.000000, 434.000000, "800");
		TextDrawAlignment(ID[x], 2);
		TextDrawBackgroundColor(ID[x], 255);
		TextDrawFont(ID[x], 1);
		TextDrawLetterSize(ID[x], 0.240000, 1.000000);
		TextDrawColor(ID[x], -1);
		TextDrawSetOutline(ID[x], 0);
		TextDrawSetProportional(ID[x], 1);
		TextDrawSetShadow(ID[x], 1);

		Ping[x] = TextDrawCreate(185.000000, 434.000000, "1500ms.");
		TextDrawAlignment(Ping[x], 2);
		TextDrawBackgroundColor(Ping[x], 255);
		TextDrawFont(Ping[x], 1);
		TextDrawLetterSize(Ping[x], 0.240000, 1.000000);
		TextDrawColor(Ping[x], -1);
		TextDrawSetOutline(Ping[x], 0);
		TextDrawSetProportional(Ping[x], 1);
		TextDrawSetShadow(Ping[x], 1);

		Respekt[x] = TextDrawCreate(234.000000, 434.000000, "40000000");
		TextDrawAlignment(Respekt[x], 2);
		TextDrawBackgroundColor(Respekt[x], 255);
		TextDrawFont(Respekt[x], 1);
		TextDrawLetterSize(Respekt[x], 0.240000, 1.000000);
		TextDrawColor(Respekt[x], -1);
		TextDrawSetOutline(Respekt[x], 0);
		TextDrawSetProportional(Respekt[x], 1);
		TextDrawSetShadow(Respekt[x], 1);

		CzasGry[x] = TextDrawCreate(298.000000, 434.000000, "0godz. 0min.");
		TextDrawAlignment(CzasGry[x], 2);
		TextDrawBackgroundColor(CzasGry[x], 255);
		TextDrawFont(CzasGry[x], 1);
		TextDrawLetterSize(CzasGry[x], 0.240000, 1.000000);
		TextDrawColor(CzasGry[x], -1);
		TextDrawSetOutline(CzasGry[x], 0);
		TextDrawSetProportional(CzasGry[x], 1);
		TextDrawSetShadow(CzasGry[x], 1);
		
		NumberPlayers[x] = TextDrawCreate(356.000000, 434.000000, "800");
		TextDrawAlignment(NumberPlayers[x], 2);
		TextDrawBackgroundColor(NumberPlayers[x], 255);
		TextDrawFont(NumberPlayers[x], 1);
		TextDrawLetterSize(NumberPlayers[x], 0.240000, 1.000000);
		TextDrawColor(NumberPlayers[x], -1);
		TextDrawSetOutline(NumberPlayers[x], 0);
		TextDrawSetProportional(NumberPlayers[x], 1);
		TextDrawSetShadow(NumberPlayers[x], 1);

		NumberVips[x] = TextDrawCreate(406.000000, 434.000000, "50");
		TextDrawAlignment(NumberVips[x], 2);
		TextDrawBackgroundColor(NumberVips[x], 255);
		TextDrawFont(NumberVips[x], 1);
		TextDrawLetterSize(NumberVips[x], 0.240000, 1.000000);
		TextDrawColor(NumberVips[x], -1);
		TextDrawSetOutline(NumberVips[x], 0);
		TextDrawSetProportional(NumberVips[x], 1);
		TextDrawSetShadow(NumberVips[x], 1);

		NumberAdmins[x] = TextDrawCreate(463.000000, 434.000000, "20");
		TextDrawAlignment(NumberAdmins[x], 2);
		TextDrawBackgroundColor(NumberAdmins[x], 255);
		TextDrawFont(NumberAdmins[x], 1);
		TextDrawLetterSize(NumberAdmins[x], 0.240000, 1.000000);
		TextDrawColor(NumberAdmins[x], -1);
		TextDrawSetOutline(NumberAdmins[x], 0);
		TextDrawSetProportional(NumberAdmins[x], 1);
		TextDrawSetShadow(NumberAdmins[x], 1);
	}
	
	return 1;
}
